package com.cn.jinl.api;

import com.cn.jinl.domain.PersonnelManagement;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

/**
 * Created On : 2023/12/12.
 * <p>
 * Author : Huiyan
 * <p>
 * Description: IPersonnelManageService
 */
public interface IPersonnelManageService {

    List<PersonnelManagement> getCurrentPersonnelList(QueryForm queryForm) throws Exception;

    List<PersonnelManagement> getAllPersonnelList(QueryForm queryForm) throws Exception;

    String addPersonnelManagement(PersonnelManagement personnelManagement) throws Exception;

    String updatePersonnelManagement(PersonnelManagement personnelManagement) throws Exception;

    String deletePersonnelManagement(QueryForm queryForm) throws Exception;

    List<PersonnelManagement> getPersonnelIdAndName() throws Exception;

    Map<String, Integer> countPersonnelAndHealth() throws Exception;

    int countZaiZhi() throws Exception;

    int currentYearNumber() throws Exception;

    int currentMonthNumber() throws Exception;
}
